import { lazy } from "react";

const AccountRouter = [

  //账户
  {
    path: "/account/balance",
    name: "账户余额",
    Component: lazy(() => import("@/pages/AccountModule/accountBalance/index"))
  },
  {
    path: "/account/info",
    name: "账号信息",
    Component: lazy(() => import("@/pages/AccountModule/accountInfo/index"))
  },
  {
    path: "/account/safety",
    name: "账号安全",
    Component: lazy(() => import("@/pages/AccountModule/accountSafety/index"))
  },
  {
    path: "/venture/urgentRemind",
    name: "紧急提醒",
    Component: lazy(() => import("@/pages/AccountModule/urgentRemind/index"))
  },
  {
    path: "/account/capital",
    name: "资金明细",
    Component: lazy(() => import("@/pages/AccountModule/capitalDetail/index"))
  },
  {
    path: "/account/applyCash",
    name: "申请提现",
    hideInMenu: true,
    Component: lazy(() => import("@/pages/AccountModule/applyCash/index"))
  },
  {
    path: "/account/personage",
    name: "个人认证",
    hideInMenu: true,
    Component: lazy(() => import("@/pages/AccountModule/personage/index"))
  },
  {
    path: "/account/offlineRecharge",
    name: "线下充值",
    hideInMenu: true,
    Component: lazy(() => import("@/pages/AccountModule/offlineRecharge/index"))
  },
  {
    path: "/account/offlineRechargeList",
    name: "线下充值记录",
    Component: lazy(() => import("@/pages/AccountModule/offlineRechargeList/index"))
  },

  //账单
  {
    path: "/account/accountDetail",
    name: "快递账单",
    Component: lazy(() => import("@/pages/AccountModule/accountDetail/index"))
  },


  //账期
  {
    path: "/period/contract",
    name: "合同管理",
    Component: lazy(() => import("@/pages/AccountModule/contractManager/index"))
  },
  {
    path: "/period/list",
    name: "账期列表",
    Component: lazy(() => import("@/pages/AccountModule/periodList/index"))
  },
]

export default AccountRouter;